package makabakaquestionnaire.zutsoftware.mapper;

import makabakaquestionnaire.zutsoftware.entity.ProjectItem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProjectItemMapper {
    List<ProjectItem> queryProjectItemByProKey(String projectKey);
    int insertProjectItem(ProjectItem projectItem);
    Long   getMaxSort(String projectKey);
    ProjectItem queryItemById(Long id);
    int updateProject(ProjectItem projectItem);
    int deleteItem(Long id);
    Long getMaxId();
}
